#pragma once

#include "organism.h"

class Plant:public Organism,public BlockAllocator<Plant>
{
private:
	static int s_index;
public:
	Plant(const Point2D &pos,DWORD maxHP);
	~Plant(){}
	virtual bool	isAnimal()const;
	virtual bool	isPlant()const;

	void	calcEnergy();
	eUpdate updateEx(const DWORD time_elapsed);
	void render();
	static void release(Plant* pObj);
};
